package com.ruoyi.game.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 充值卡对象 ry_recharge_card
 *
 * @author 小胖
 * @date 2022-05-12
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class RechargeCard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 充值卡id */
    private Long rechargeCardId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 卡号 */
    @Excel(name = "卡号")
    private String cardNumber;

    /** 卡密 */
    @Excel(name = "卡密")
    private String cardPass;

    /** 批次 */
    @Excel(name = "批次")
    private Long batch;

    /** 金币 */
    @Excel(name = "金币")
    private Long goldCoin;

    /** 使用状态(1=未使用,2=已使用) 默认:1 */
    @Excel(name = "使用状态(1=未使用,2=已使用) 默认:1")
    private String useStatus;

    /**
     * 添加数量
     */
    private transient Integer quantity;

}
